package com.agileplex.codeminer.scm;

/**
 * This listener listens all repository actions.
 * 
 * @creator Weiming Yin
 * @date 2007-7-17
 *
 * @lastmodified
 * @author $Author: yinweiming $
 * @version $Revision: 15 $, $Date: 2007-07-16 18:12:59 +0000 (Mon, 16 Jul 2007) $
 */
public interface IRepositoryListener<V extends IVersion<T>, T> {
	enum ScmStatus {
		PREPARE,
		MINEING,
		VERSION_READY,
		FINISH
	}
	
	void processRepository(ScmStatus status, IRepository<IVersion, T> repos, IVersion<T> v);

}
